<?php
/**
 * @version		$Id: index.php 21720 2011-07-01 08:31:15Z chdemko $
 * @package		Joomla.Site
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);

/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
$option 	= JRequest::getString('option', '', 'GET');
$view 		= JRequest::getString('view', '', 'GET');
?>
<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
	<head>
		<!-- The following JDOC Head tag loads all the header and meta information from your site config and content. -->
		<jdoc:include type="head" />
		<!-- The following five lines load the Blueprint CSS Framework (http://blueprintcss.org). If you don't want to use this framework, delete these lines. -->
		<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/styles.css" type="text/css" media="screen, projection" />
		<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery-ui-personalized-1.5.2.packed.js"></script>
		<script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-25841378-1']);
		  _gaq.push(['_trackPageview']);
		
		  (function() {
		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		
		</script>
	</head>
	<body>
		<div id="wallpaper">
			<div id="main">
				<div id="ja-wrapper2">
					<div id="ja-wrapper3" class="clearfix">
						<div id="header">
							<?php require 'html/slideshow.php';?>
							<?php //require 'html/marquee.php';?>
						</div>
						<div id="menuTop">
							<?php require 'html/marquee.php';?>
							<jdoc:include type="modules" name="sogtvt-topmenu" style="none"/>
							<jdoc:include type="modules" name="position-0" style="none"/>
						</div>
						<div id="page" class="clearfix">
							<div id="left">
								<div class="box">
									<div class="title">
										<div class="left"></div>
										<div class="center"><a href="index.php" style="color:#fff; text-decoration: none;">Trang chủ</a></div>
										<div class="right"></div>
									</div>
									<div class="boxContent" style="padding: 0; margin: 0;">
									<?php require 'html/menuLeft.php';?>
									</div>
								</div>
								<div class="box" id="box_menu">
									<div class="title">
										<div class="left"></div>
										<div class="center">Thông tin quảng cáo</div>
										<div class="right"></div>
									</div>
									<?php require 'html/bannerLeft.php';?>
								</div>
								<jdoc:include type="modules" name="sogtvt-topquote" style="table"/>
								<div class="box">
									<div class="title">
										<div class="left"></div>
										<div class="center">Thống kê truy cập</div>
										<div class="right"></div>
									</div>
									<div class="boxContent">
										<jdoc:include type="modules" name="sogtvt-bottomleft" style="table"/>
									</div>
								</div>
							</div>
							<div id="right">
								<div id="mainBody" class="clearfix">
									<div id="content">
										<div id="ja-content">
											<?php if ($option=='com_content' && $view!='featured'){?>
											<jdoc:include type="message" />
											<jdoc:include type="component" />
											<?php }else{
												require 'html/home_page.php';
											}?>
										</div>
									</div>
									<div id="cols2">
										<jdoc:include type="modules" name="articleslatestload" style="table"/>
										<?php require 'html/news.php';?>
										<jdoc:include type="modules" name="position-1" style="table"/>
										<div class="box">
											<div class="title">
												<div class="left"></div>
												<div class="center">Thông tin thời tiết</div>
												<div class="right"></div>
											</div>
											<div class="boxContent">
												<?php require 'html/thoi_tiet.php';?>
											</div>
										</div>
										<jdoc:include type="modules" name="customload" style="table"/>
										<div class="box">
											<div class="boxContent">
												<?php require 'html/bannerRight.php';?>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div id="footer">
							<jdoc:include type="modules" name="sogtvt-bottommiddle" style="none"/>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
